.layim-msg-new {
  color: #fff;
  position: relative;
  top: -1px;
  margin-left: 2px;
}

.layim-chat-status {
  /* position: absolute;
    left: 40%; */
  opacity: 1;
}

.layim-list-history span.justchat-multiple-time {
  position: absolute;
  right: 14px;
  font-size: 12px;
  color: #999999;
}

.layim-list-history p {
  font-size: 14px !important;
  color: #999999;
}

.layim-list-history span {
  color: #333333;
}

.layim-status-online {
  color: #09bb07;
}

.layim-status-hide {
  color: #DD691D;
}

.layim-menu-box {
  display: none;
  position: absolute;
  z-index: 100;
  top: 24px;
  left: -31px;
  padding: 5px 0;
  width: 85px;
  border: 1px solid #E2E2E2;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.1);
}

.layim-menu-box li {
  position: relative;
  line-height: 22px;
  padding-left: 30px;
  font-size: 12px;
}

.layim-menu-box li cite {
  padding-right: 5px;
  font-size: 14px;
}

.layim-menu-box li i {
  display: none;
  position: absolute;
  left: 8px;
  top: 0;
  font-weight: 700;
  color: #5FB878;
}

.layim-menu-box .layim-this i {
  display: block;
}

.layim-menu-box li:hover {
  background-color: #eee;
}

.justchat-chat-title {
  line-height: 55px;
  height: 18px;
  text-align: center;
  font-size: 20px;
  color: #fff;
}

.layim-chat-pic {
  position: relative;
  min-height: 22px;
  line-height: 22px;
  margin-top: 28px;
  padding: 8px 15px;
  display: inline-block;
}

.justchat-pay-types {
  /* position: absolute;
  bottom: 50px; */
  width: 100%;
  padding: 5px;
  overflow-y: hidden;
  overflow-x: auto;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
  background-color: #f2f2f2;
  height: 45px;
  white-space: nowrap;
}

.justchat-pay-types button {
  margin-left: 6px !important;
  font-size: 16px;
  /* border: 1px solid #d4d5d5; */
  border: 0;
  color: #666;
  /*margin-top: 5px !important;*/
}

.justchat-pay-types {
  overflow: scroll;
  -webkit-overflow-scrolling: touch;
  display: flex;
  display: -webkit-flex;
}

.layui-m-layermain .layui-m-layersection .just-chat-main-pay {
  bottom: 92px;
}

.justchat-button-custom-amount {
  width: 46px;
  height: 26px;
  line-height: 26px;
  border-color: #3bb100;
  border-radius: 6px;
  margin-top: 6px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #3bb100;
  letter-spacing: 0.5px;
}

.justchat-input-custom-amount {
  margin-left: 10px;
  width: 60%;
  height: 30px;
  line-height: 30px;
  border-radius: 6px 0px 0px 6px;
  margin-top: 6px;
  margin-bottom: 10px;
  float: left;
  border-right: none;
}

.justchat-send-custom-amount {
  border-radius: 0px 6px 6px 0px;
  height: 32px;
  padding: 0 10px;
  border: none 0;
  margin-top: 6px;
  margin-bottom: 10px;
  line-height: 32px;
  float: left;
  background-color: #5FB878;
  color: #fff;
}

.justchat-custom-paydetail {
  background-size: 100%;
  width: 193px;
  height: 92px;
  display: inline-block;
  margin-top: 0px;
}

.justchat-custom-paydetail-btText {
  position: absolute;
  left: 78px;
  bottom: 10px;
  line-height: 22px;
  font-size: 12px;
  color: #757575;
}

.justchat-custom-paydetail p {
  font-size: 12px;
  color: #ffffff;
  text-align: left;
}

.justchat-bg-bank {
  background-image: url('img/img_bg_yhk.png');
}

.justchat-bg-bank .justchat-custom-paydetial-img {
  background-image: url('img/img_yhk.png');
  background-size: 100%;
  width: 40px;
  height: 40px;
  margin-top: 15px;
  margin-left: 20px;
  float: left;
}

.justchat-bg-alipay {
  background-image: url('img/img_bg_zfb.png');
}

.layim-chat-li.layim-chat-mine .justchat-bg-alipay,
.layim-chat-li.layim-chat-mine .justchat-bg-bank,
.layim-chat-li.layim-chat-mine .justchat-bg-huabei,
.layim-chat-li.layim-chat-mine .justchat-bg-wechat {
  transform: rotateY(180deg);
}

.layim-chat-li.layim-chat-mine .goToPayText {
  transform: rotateY(-180deg);
}

.layim-chat-li.layim-chat-mine .justchat-custom-paydetail-btText {
  transform: rotateY(-180deg);
  left: 20px;
  bottom: 0px;
}

.layim-chat-li.layim-chat-mine .justchat-custom-paydetial-img {
  transform: rotateY(-180deg);
}

.justchat-bg-alipay .justchat-custom-paydetial-img {
  background-image: url('img/img_alipay.png');
  background-size: 100%;
  width: 40px;
  height: 40px;
  margin-top: 15px;
  margin-left: 20px;
  float: left;
}

.justchat-bg-huabei {
  background-image: url('img/img_bg_zfb.png');
}

.justchat-bg-huabei .justchat-custom-paydetial-img {
  background-image: url('img/img_huabei.png');
  background-size: 100%;
  width: 40px;
  height: 40px;
  margin-top: 15px;
  margin-left: 20px;
  float: left;
}

.justchat-bg-wechat {
  background-image: url('img/img_bg_wx.png');
}

.justchat-bg-wechat .justchat-custom-paydetial-img {
  background-image: url('img/img_wechat.png');
  background-size: 100%;
  width: 40px;
  height: 40px;
  margin-top: 15px;
  margin-left: 20px;
  float: left;
}

.justchat-chat-image img {
  max-width: 100%;
  vertical-align: middle;
  margin-top: 24px;
}

.layui-layim-close {
  position: absolute;
  left: 3px;
  font-size: 20px;
  color: #fff;
  z-index: 998;
  width: 40px;
  text-align: center;
}

.platform {
  height: 28px;
  line-height: 28px;
  background: #ededed;
  font-size: 16px;
  margin-left: 15px;
  color: #222;
  position: absolute;
  left: 0px;
  z-index: 998;
  top: 18px;
}

@media only screen and (min-width: 320px) and (max-width: 568px) {
  .justchat-input-custom-amount {
    width: 45%;
  }

  .justchat-button-custom-amount {
    width: 90px;
  }
}

@media only screen and (min-width: 360px) and (max-width: 640px) {
  .justchat-input-custom-amount {
    width: 55%;
  }

  .justchat-button-custom-amount {
    width: 55px;
  }
}

@media only screen and (min-width: 375px) and (max-width: 812px) {
  .justchat-input-custom-amount {
    width: 60%;
  }

  .justchat-button-custom-amount {
    width: 60px;
  }
}

@media only screen and (min-width: 411px) and (max-width: 823px) {
  .justchat-input-custom-amount {
    width: 68%;
  }

  .justchat-button-custom-amount {
    width: 43px;
  }
}

@media only screen and (min-width: 414px) and (max-width: 736px) {
  .justchat-input-custom-amount {
    width: 65%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .justchat-input-custom-amount {
    width: 86%;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1366px) {
  .justchat-input-custom-amount {
    width: 86%;
  }
}

/* 发送消息那块样式处理和微信一样 */
.layui-m-layermain .layim-chat-send {
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  float: left;
  width: 100%;
}

.layui-m-layermain .layim-chat-send .layim-tool-face,
.layui-m-layermain .layim-chat-send .layim-tool-toggle {
  font-size: 28px;
  margin-left: 5px;
}

.layui-m-layermain .layim-chat-send button {
  height: 28px !important;
  padding: 0 6px !important;
  margin-left: 2px !important;
}

.layui-m-layermain .layim-chat-send input {
  height: 30px !important;
  -webkit-appearance: none;
}

.layui-m-layermain .layim-chat-footer {
  /* position: absolute; */
  height: auto;
  /* padding: 10px; */
  left: 0;
  right: 0;
  background: #fff;
}

.layim-chat-main {
  flex: 1;
}

.layui-layim,.layim-chat-main,.layui-m-layermain .layim-chat-footer{
   /* 开启硬件加速 */
   -webkit-transform: translate3d(0, 0, 0);
   -moz-transform: translate3d(0, 0, 0);
   -ms-transform: translate3d(0, 0, 0);
   transform: translate3d(0, 0, 0);
}

.clearStorage {
  position: absolute;
  padding: 16px;
  right: 5px;
  top: 4px;
  z-index: 998;
  height: 18px;
  width: 18px;
}

.layui-m-layermain .layui-m-layersection {
  display: block;
  width: 100%;
  height: 100%;
}

.delete-layim-chat-li {
  text-align: center;
  width: 100px;
  height: 73px;
  line-height: 73px;
  background: #F74C31;
  color: #fff;
  position: absolute;
  right: -100px;
  top: 0px;
  font-size: 16px !important;
}

.layim-history-item {
  transition: all 0.1s linear;
  top: 0;
  left: 0px;
}

.layim-li-more {
  left: -100px !important;
}

.go-complaint {
  position: absolute;
  right: 15px;
  top: 0px;
  font-size: 16px;
  z-index: 3;
  width: 53px;
  text-align: center;
}

.types-agency {
  overflow: visible;
  display: flex;
  flex-wrap: nowrap;
}

.types-agency .types-item {
  position: relative;
}
.show-quick-reply-btn,.show-send-acount-btn {
  font-size: 16px;
}

.types-agency .types-item .quick-reply-btn-box,
.types-agency .types-item .send-account-btn-box {
  display: none;
  left: -3px;
  bottom: 40px;
  min-width: 88px;
  position: absolute;
  /* text-align: center; */
  border: 1px solid #ccc;
  background: #fff;
  padding: 5px 10px;
  z-index: 99999997;
}

.types-agency .types-item .quick-reply-btn-box>li,
.types-agency .types-item .send-account-btn-box>li {
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  margin-bottom: 8px;
}

.types-agency .types-item .quick-reply-btn-box>li {
  /* background: #58a0eb; */
  color: #000;
}

.types-agency .types-item .quick-reply-btn-box>li:last-child,
.types-agency .types-item .send-account-btn-box>li:last-child {
  border-bottom: 5px;
}

.agencymain {
  bottom: 92px !important;
}

.layui-m-layermain,
.layui-m-layermain .layim-content {
  position: absolute;
}

/* .layui-m-layermain .layim-chat-main {
  position: absolute;
  top: 0;
} */

.layui-m-layermain .layui-m-layerchild {
  width: 100%;
  height: 100%;
}

.layui-m-layer1 .layim-panel {
  position: initial;
  display: block;
  width: 100%;
  height: 100%;
}

.layui-m-layer.layui-m-layer1 {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.layui-m-layer1 .layui-m-layercont {
  display: block;
  padding: 0;
  text-align: left;
  width: 100%;
  height: 100%;
}

.layui-m-layer .layim-layer {
  position: relative;
}
.layim-chat{
  display: flex;
  width: 100%;
  flex-direction: column;
  height: 100%;
}

.official-info-item{
  padding-left: 0px !important;
}
.layim-friend88888 .name{
  color: #f00;
}

.layui-m-layer-msg{
  z-index: 99999999 !important;
}

/* 运营模版消息 */
.operation-info {
  padding: 10px;
  border: 1px solid #ccc;
  background: #fff;
}

.operation-info-title {
  margin-bottom: 20px;
  color: red;
  font-size: 20px;
}

.operation-info-item {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 10px;
  font-size: 16px;
  color: #222";

}

.operation-info-subtitle {
  width: 90px;
  flex-shrink: 0;
  display: inline-block;
}

.operation-info-subinfo {
  word-break: break-all;
  display: inline-block;
}
#menu{
  position: fixed;
  background: #eee;
  z-index: 998;
  box-shadow: -2px 2px 5px #ccc;
  padding: 5px 10px;
  overflow:auto;
  z-index: 19891015;
  display: none;
}
#menu>p{
  color: #222;
  cursor: pointer;
}